import urllib.request
import urllib.error
try:
	req = urllib.request.urlopen("https://blog.csdn.net/qq_42156420/article/details/80760845")
	data = req.read()
	print(len(data))
except urllib.error.HTTPError as e:
	print(e.code)
	print(e.reason)